<style>
<!--

.resQuery span.error {
    position: absolute;
    left: 280px;
}
-->
</style>
<div class="pageContent">
    <form method="post" action="${rc.getContextPath()}/menu/saveMenu" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
            <div class="pageFormContent">
                <input type="hidden" name="navTabId" value="${navTabId!''}"> <input type="hidden" name="displayOrdinal" value="<#if (menu.displayOrdinal)??>${menu.displayOrdinal!''}</#if>"> <input type="hidden" name="id" value="<#if (menu.menuCode)??>${menu.menuCode!''}</#if>">
                <fieldset>
                    <dl class="nowrap">
                        <dt><@label key="menuCode.L">菜单编号：</@label></dt>
                        <dd>
                            <input name="menuCode" value="<#if (menu.menuCode)??>${menu.menuCode!''}</#if>" size="32" type="text" maxlength="40" class="required"<#if (menu.menuCode)??> readonly="readonly"<#else> remote="${rc.getContextPath()}/menu/validateMenuCode"</#if> warn="<@label key="menuCodeExist.M">菜单编号已经存在</@label>"/>
                        </dd>
                    </dl>
                    <dl class="nowrap">
                        <dt><@label key="menuText.L">菜单描述：</@label></dt>
                        <dd>
                            <input readonly name="menuText" value="<#if (menu.menuText)??>${menu.menuText!''}</#if>" size="64" type="text" maxlength="60" class="required" />
                        </dd>
                    </dl>
                    <dl class="nowrap">
                        <dt><@label key="parentMenuCode.L">上级菜单：</@label></dt>
                        <dd>
                            <input readonly="readonly" name="parentMenuCode" value="<#if (menu.parentMenuCode)??>${menu.parentMenuCode!''}</#if>" size="32" type="text" maxlength="255" /> <input readonly="readonly" style="margin-left: 10px;" name="parentMenuText" value="<#if (menu.parentMenuText)??>${menu.parentMenuText!''}</#if>" size="32" type="text" maxlength="255" />
                        </dd>
                    </dl>
                    <dl class="nowrap">
                        <dt><@label key="tCode.L">事务码：</@label></dt>
                        <dd>
                            <input readonly name="tCode" value="<#if (menu.tCode)??>${menu.tCode!''}</#if>" size="32" maxlength="255" type="text" />
                        </dd>
                    </dl>
                    <dl class="nowrap">
                        <dt><@label key="resource.L">资源：</@label></dt>
                        <dd class="resQuery">
                            <input size="32" readonly="readonly" class="required" name="res.name" type="text" value="<#if (menu.resourceText)??>${menu.resourceText!''}</#if>" /> 
                        </dd>
                    </dl>
                    <dl class="nowrap">
                        <dt>&nbsp;</dt>
                        <dd>
                            <label style="text-align: left;"><input disabled style="margin-right: 2px;" type="checkbox" name="lockFlag" value="1"<#if (menu.lockFlag)?? && (menu.lockFlag == 1)> checked="true"</#if>><@label key="lock.C">锁定</@label></label>
                        </dd>
                    </dl>
                </fieldset>
            </div>

            <#if (menu.menuCode)??> <#assign createInfo=menu/> <#include "/common/createInfo.html"> </#if>
    </form>
</div>
